<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=>, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var arr=[2,0,6,1,77,0,52,0,25,7]
        var arr=[]
        for(var i=0;i<arr1.length;i++)
    {
        if(arr[i]>10)
        arr2[arr2.length]=arr1[i]
    }
    console.log(arr2)
    </script>
</body>
</html>